package com.ruoyi.wm.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药品验收入库记录对象 wm_medicine_instorage_list
 * 
 * @author hpf
 * @date 2021-11-25
 */
public class WmMedicineInstorageList extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long ID;

    /** 入库时间 */
    @Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 供货单位 */
    @Excel(name = "供货单位")
    private String supplier;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 规格 */
    @Excel(name = "规格")
    private String standard;

    /** 剂形状 */
    @Excel(name = "剂形状")
    private String formOfADrag;

    /** 生产企业 */
    @Excel(name = "生产企业")
    private String producer;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 入库数量 */
    @Excel(name = "入库数量")
    private Integer number;


    /** 本批次剩余数量 */
    private Integer remainNum;


    /** 单价 */
    @Excel(name = "单价")
    private BigDecimal price;

    /** 批号 */
    @Excel(name = "批号")
    private String batchNum;

    /** 有效期 */
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deadline;

    /** 批文号 */
    @Excel(name = "批文号")
    private String aprovalNum;


    public void setID(Long ID)
    {
        this.ID = ID;
    }

    public Long getID() 
    {
        return ID;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setSupplier(String supplier) 
    {
        this.supplier = supplier;
    }

    public String getSupplier() 
    {
        return supplier;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStandard(String standard) 
    {
        this.standard = standard;
    }

    public String getStandard() 
    {
        return standard;
    }
    public void setFormOfADrag(String formOfADrag) 
    {
        this.formOfADrag = formOfADrag;
    }

    public String getFormOfADrag() 
    {
        return formOfADrag;
    }
    public void setProducer(String producer) 
    {
        this.producer = producer;
    }

    public String getProducer() 
    {
        return producer;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setNumber(Integer number) 
    {
        this.number = number;
    }

    public Integer getNumber() 
    {
        return number;
    }
    public void setPrice(BigDecimal price)
    {
        this.price = price;
    }

    public Integer getRemainNum() {
        return remainNum;
    }
    public void setRemainNum(Integer remainNum) {
        this.remainNum = remainNum;
    }

    public BigDecimal getPrice()
    {
        return price;
    }
    public void setBatchNum(String batchNum) 
    {
        this.batchNum = batchNum;
    }

    public String getBatchNum() 
    {
        return batchNum;
    }
    public void setDeadline(Date deadline) 
    {
        this.deadline = deadline;
    }

    public Date getDeadline() 
    {
        return deadline;
    }
    public void setAprovalNum(String aprovalNum) 
    {
        this.aprovalNum = aprovalNum;
    }

    public String getAprovalNum() 
    {
        return aprovalNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ID", getID())
            .append("time", getTime())
            .append("supplier", getSupplier())
            .append("name", getName())
            .append("standard", getStandard())
            .append("formOfADrag", getFormOfADrag())
            .append("producer", getProducer())
            .append("unit", getUnit())
            .append("number", getNumber())
            .append("price", getPrice())
            .append("batchNum", getBatchNum())
            .append("deadline", getDeadline())
            .append("aprovalNum", getAprovalNum())
            .append("remark", getRemark())
            .toString();
    }
}
